package com.arpa.ntocc.common.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户余额统计Vo对象
 * </p>
 *
 * @author wangkf
 * @since 2019-12-31
 */
@Data
@ApiModel(value="PartyBalanceStatisticsVo对象", description="用户")
public class PartyBalanceStatisticsVo implements Serializable {

    @ApiModelProperty(value = "code")
    private String code;

    @ApiModelProperty(value = "用户类型")
    private String partyType;

    @ApiModelProperty(value = "用户类型")
    private String partyTypeName;

    @ApiModelProperty(value = "用户电话")
    private String phone;

    @ApiModelProperty(value = "用户名")
    private String name;

    @ApiModelProperty(value = "状态 0正常，1禁用")
    private Integer status;

    @ApiModelProperty(value = "网点编码")
    private String branchCode;

    @ApiModelProperty(value = "总数")
    private Long total;

    @ApiModelProperty(value = "账户余额")
    private BigDecimal balance;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "余额变动时间")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime balanceGmtModified;

}
